package cn.kai;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * @Author Kai
 * @Date 2022/6/1 13:09
 * @PackageName:cn.kai
 * @ClassName: PethomeApp
 * @Description: springboot启动类
 * @Version 1.0
 */

@SpringBootApplication
@MapperScan("cn.kai.*.mapper")
//扫描加载权限的Listener
@ServletComponentScan(value = {"cn.kai.system.listener"})
public class PetHomeApp {
    public static void main(String[] args) {
        SpringApplication.run(PetHomeApp.class);
    }
}
